﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.OrderFreightAppendRecord
{
	/// <summary>
	/// 订单运费追加记录
	/// </summary>
	public class OrderFreightAppendRecordRequestDto
	{
		/// <summary>
		/// 订单Id
		/// </summary>		
		[Display(Name = "订单Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long OrderId { get; set; }
		/// <summary>
		/// 订单编号
		/// </summary>		
		[Display(Name = "订单编号")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(50, MinimumLength = 6, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string OrderNo { get; set; }
		/// <summary>
		/// 二次负重差额
		/// </summary>		
		[Display(Name = "二次负重差额")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public decimal SecendWeighingDifference { get; set; }
		/// <summary>
		/// 支付记录Id
		/// </summary>		
		[Display(Name = "支付记录Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long PaymentRecordId { get; set; }
		/// <summary>
		/// 支付时间
		/// </summary>		
		[Display(Name = "支付时间")]
		public DateTime? PaidTime { get; set; }
	}
}

